package com.kgcx.coupon.mapper;

import com.kgcx.coupon.domain.UserCoupon;
import com.kgcx.coupon.vo.coupon.UserCouponRespVO;
import com.kgcx.coupon.vo.coupon.UserCouponVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserCouponMapper {

    int deleteByPrimaryKey(Integer kid);

    int insert(UserCoupon record);

    int insertSelective(UserCoupon record);

    void insertByBatch(List<UserCoupon> list);

    UserCoupon selectByPrimaryKey(@Param("kid") Integer kid);

    int updateByPrimaryKeySelective(UserCoupon record);

    List<UserCouponVO> selectUserCouponList(List<String> list);

    UserCouponRespVO selectUserCouponById(@Param("kid") Long kid);

}
